package com.itheima.Method;

public class Method02 {
    public static void main(String[] args) {
        isevennumber(15);
        isevennumber(16);
    }

    public static void isevennumber(int num) {
        if (num % 2 == 0) {
            System.out.println("偶数");
        } else {
            System.out.println("基数");
        }
        return; // 用于结束方法
    }
}

